They decided the tallest pirate could be captain, which is how ole Longneck Giraffe got his rank. For future reference - this is not a good way to pick a captain. Longneck got them lost at sea for months and by the time they got home, half the crew had scurvy.